package zhuyun.code.launcheractivity.view.adapter

import zhuyun.code.launcheractivity.R
import zhuyun.code.launcheractivity.model.data.RecommendFriendsBean
import zhuyun.code.launcheractivity.utils.GlideUtil

/**
 * @author: Administrator
 * @date: 2021/11/29
 */
class PeopleYouMayKnowAdapter(val data:MutableList<RecommendFriendsBean>):
    BaseQuickAdapter<RecommendFriendsBean,BaseViewHolder>(R.layout.item_people_you_may_know,data) {
    override fun convert(helper: BaseViewHolder, item: RecommendFriendsBean) {
        GlideUtil.displayEspImage(item.HeadUrl,helper.getView(R.id.iv_avatar),R.drawable.pic_touxiang_normal)
        helper.setText(R.id.tv_name,item.NickName)

    }
}